<#import "lib/mytest.ftl" as my>
<#assign mail="shanjunpeng@163.com">
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<@my.copyright date="1990-2020"/>
my.mail:${my.mail}
<br>mail:${mail}

<#--更换命名空间中的变量-->
<#assign mail="1234567@qq.com" in my>
<#assign name="shanjunpeng" in my>
<p>
    my.mail:${my.mail}

</p>
<p>
    name:${my.name}
</p>
</body>
</html>